package start.doubudouyin.service;

import start.doubudouyin.entity.Admininfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 38798
* @description 针对表【admininfo(管理员信息表)】的数据库操作Service
* @createDate 2025-05-30 10:57:42
*/
public interface AdmininfoService extends IService<Admininfo> {
    String isPhoneExist(String phone);
    String isIdcardExist(String idcard);
    Integer AdminLogin(String phone,String password);
    Integer isAdminOnline(Integer adminId);
    Integer AdminRegisterPass(Admininfo admininfo);

    Integer updateonlineStatus(Integer onlineStatus,Integer adminId);

    //  根据id查询
    Admininfo getById(Admininfo admininfo);
    Integer UpdatePassword(String phone,String idcard,String password);
    String VerifyAdmin(String phone,String idcard);
    List<Admininfo> findAll();
    Integer deletebyId(Integer adminId);
    Integer updatePasswordById (String password,String adminId);
    String VerifyPassword(String adminId,String password);
    String VerifyId(String adminId,String idcard);


}
